<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>spGpu library: ELL/HELL Format</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">spGpu library
   &#160;<span id="projectnumber">1.2.1</span>
   </div>
   <div id="projectbrief">spgpu</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ELL/HELL Format</div>  </div>
</div>
<div class="contents">
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#gac76c55a904f99c7cd844688799f9a158">ELL_PITCH_ALIGN_BYTE</a>&#160;&#160;&#160;128</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the pitch alignment that must be fullfilled by the coefficients and the row pointers allocations.  <a href="#gac76c55a904f99c7cd844688799f9a158"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga8b705fa419969f18acc20d2cbb9f6f3a">HELL_PITCH_ALIGN_BYTE</a>&#160;&#160;&#160;128</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the pitch alignment that must be fullfilled by the coefficients and the row pointers allocations.  <a href="#ga8b705fa419969f18acc20d2cbb9f6f3a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#gae738c21d0b7e54370c5076402c11e3dd">spgpuSellspmv</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, __device float *z, const __device float *y, float alpha, const __device float *cM, const __device int *rP, int cMPitch, int rPPitch, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device float *x, float beta, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga3ef2b1ccf3dfe66a725d8c27a9c0537b">spgpuDellspmv</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, __device double *z, const __device double *y, double alpha, const __device double *cM, const __device int *rP, int cMPitch, int rPPitch, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device double *x, double beta, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga3c938caa92b2e901c04177f8552709ee">spgpuCellspmv</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, __device cuFloatComplex *z, const __device cuFloatComplex *y, cuFloatComplex alpha, const __device cuFloatComplex *cM, const __device int *rP, int cMPitch, int rPPitch, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device cuFloatComplex *x, cuFloatComplex beta, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga2e4c63394d814ed7a1859b2c51102f4d">spgpuZellspmv</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, __device cuDoubleComplex *z, const __device cuDoubleComplex *y, cuDoubleComplex alpha, const __device cuDoubleComplex *cM, const __device int *rP, int cMPitch, int rPPitch, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device cuDoubleComplex *x, cuDoubleComplex beta, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga5c6b92dbf77377e871c19681c264c32e">spgpuSellcsput</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, float alpha, __device float *cM, __device const int *rP, int cMPitch, int rPPitch, __device const int *rS, int nnz, __device int *aI, __device int *aJ, __device float *aVal, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga1fd414e4bab55e26d2502b7c1477c2c3">spgpuDellcsput</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, double alpha, __device double *cM, __device const int *rP, int cMPitch, int rPPitch, __device const int *rS, int nnz, __device int *aI, __device int *aJ, __device double *aVal, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#gac50e633d2715b3755070f3165e30e7b1">spgpuCellcsput</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, cuFloatComplex alpha, __device cuFloatComplex *cM, __device const int *rP, int cMPitch, int rPPitch, __device const int *rS, int nnz, __device int *aI, __device int *aJ, __device cuFloatComplex *aVal, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga53015add46a7bb6f67bad327aab3c5dc">spgpuZellcsput</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, cuDoubleComplex alpha, __device cuDoubleComplex *cM, __device const int *rP, int cMPitch, int rPPitch, __device const int *rS, int nnz, __device int *aI, __device int *aJ, __device cuDoubleComplex *aVal, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga3d793905a7457b19eb6359cd8bb41776">spgpuShellspmv</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, __device float *z, const __device float *y, float alpha, const __device float *cM, const __device int *rP, int hackSize, const __device int *hackOffsets, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device float *x, float beta, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga5b8b43f5ccb5118ad9a9e211a05e1919">spgpuDhellspmv</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, __device double *z, const __device double *y, double alpha, const __device double *cM, const __device int *rP, int hackSize, const __device int *hackOffsets, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device double *x, double beta, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#ga1fcd1961703073ab2ec15e4cfd52b94d">spgpuChellspmv</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, __device cuFloatComplex *z, const __device cuFloatComplex *y, cuFloatComplex alpha, const __device cuFloatComplex *cM, const __device int *rP, int hackSize, const __device int *hackOffsets, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device cuFloatComplex *x, cuFloatComplex beta, int baseIndex)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ell_fun.html#gae12fe2a7420e998478d92bf77d714516">spgpuZhellspmv</a> (<a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a> handle, __device cuDoubleComplex *z, const __device cuDoubleComplex *y, cuDoubleComplex alpha, const __device cuDoubleComplex *cM, const __device int *rP, int hackSize, const __device int *hackOffsets, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device cuDoubleComplex *x, cuDoubleComplex beta, int baseIndex)</td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="gac76c55a904f99c7cd844688799f9a158"></a><!-- doxytag: member="ell.h::ELL_PITCH_ALIGN_BYTE" ref="gac76c55a904f99c7cd844688799f9a158" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ELL_PITCH_ALIGN_BYTE&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is the pitch alignment that must be fullfilled by the coefficients and the row pointers allocations. </p>

</div>
</div>
<a class="anchor" id="ga8b705fa419969f18acc20d2cbb9f6f3a"></a><!-- doxytag: member="hell.h::HELL_PITCH_ALIGN_BYTE" ref="ga8b705fa419969f18acc20d2cbb9f6f3a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define HELL_PITCH_ALIGN_BYTE&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This is the pitch alignment that must be fullfilled by the coefficients and the row pointers allocations. </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="gac50e633d2715b3755070f3165e30e7b1"></a><!-- doxytag: member="ell.h::spgpuCellcsput" ref="gac50e633d2715b3755070f3165e30e7b1" args="(spgpuHandle_t handle, cuFloatComplex alpha, __device cuFloatComplex *cM, __device const int *rP, int cMPitch, int rPPitch, __device const int *rS, int nnz, __device int *aI, __device int *aJ, __device cuFloatComplex *aVal, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuCellcsput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuFloatComplex&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device const int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cMPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rPPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device const int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nnz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device int *&#160;</td>
          <td class="paramname"><em>aI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device int *&#160;</td>
          <td class="paramname"><em>aJ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>aVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Replaces the values at coordinate (aI[i], aJ[i]) inside A with the value aVal[i] * alpha, with A stored in ELLpack Format on GPU. It assumes that indices from the same row inside rP are sorted by ascending order. Values are single precision floating point complex numbers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The ELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The ELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">cMPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero values </td></tr>
    <tr><td class="paramname">rPPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero column indices </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">nnz</td><td>the number of triples (aI, aJ, aVal) to process </td></tr>
    <tr><td class="paramname">aI</td><td>The row coordinates vector </td></tr>
    <tr><td class="paramname">aJ</td><td>The column coordinates vector </td></tr>
    <tr><td class="paramname">aVal</td><td>The values vector </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3c938caa92b2e901c04177f8552709ee"></a><!-- doxytag: member="ell.h::spgpuCellspmv" ref="ga3c938caa92b2e901c04177f8552709ee" args="(spgpuHandle_t handle, __device cuFloatComplex *z, const __device cuFloatComplex *y, cuFloatComplex alpha, const __device cuFloatComplex *cM, const __device int *rP, int cMPitch, int rPPitch, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device cuFloatComplex *x, cuFloatComplex beta, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuCellspmv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuFloatComplex&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cMPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rPPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>avgNnzPerRow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuFloatComplex&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes single precision complex z = alpha*A*x + beta*y, with A stored in ELLpack Format on GPU. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">z</td><td>The output vector of the routine. z could be y, but not y + k (i.e. an overlapping area over y, but starting from a base index different from y). </td></tr>
    <tr><td class="paramname">y</td><td>The y input vector </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The ELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The ELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">cMPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero values </td></tr>
    <tr><td class="paramname">rPPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero column indices </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">rIdx</td><td>(optional) An array containing the row index per every row (i.e. the reorder array) of the Ell matrix. Pass NULL if you don't use a reorder array (i.e. the k-th row is stored in the k-th position in the ELL format). </td></tr>
    <tr><td class="paramname">avgNnzPerRow</td><td>(optional) Average number of non zeroes per row. Pass 0 if you don't have such information. </td></tr>
    <tr><td class="paramname">rows</td><td>the rows count </td></tr>
    <tr><td class="paramname">x</td><td>the x vector </td></tr>
    <tr><td class="paramname">beta</td><td>the beta scalar </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga1fcd1961703073ab2ec15e4cfd52b94d"></a><!-- doxytag: member="hell.h::spgpuChellspmv" ref="ga1fcd1961703073ab2ec15e4cfd52b94d" args="(spgpuHandle_t handle, __device cuFloatComplex *z, const __device cuFloatComplex *y, cuFloatComplex alpha, const __device cuFloatComplex *cM, const __device int *rP, int hackSize, const __device int *hackOffsets, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device cuFloatComplex *x, cuFloatComplex beta, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuChellspmv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuFloatComplex&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hackSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>hackOffsets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>avgNnzPerRow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuFloatComplex *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuFloatComplex&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes single precision complex z = alpha*A*x + beta*y, with A stored in Hacked ELLpack Format on GPU. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">z</td><td>The output vector of the routine. z could be y, but not y + k (i.e. an overlapping area over y, but starting from a base index different from y). </td></tr>
    <tr><td class="paramname">y</td><td>The y input vector </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The HELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The HELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">hackSize</td><td>The constant size of every hack (must be a multiple of 32). </td></tr>
    <tr><td class="paramname">hackOffsets</td><td>the array of base index offset for every hack of HELL non zero values allocation and HELL indices allocation. </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">rIdx</td><td>(optional) An array containing the row index per every row (i.e. the reorder array) of the Hell matrix. Pass NULL if you don't use a reorder array (i.e. the k-th row is stored in the k-th position in the HELL format). </td></tr>
    <tr><td class="paramname">avgNnzPerRow</td><td>(optional) Average number of non zeroes per row. Pass 0 if you don't have such information. </td></tr>
    <tr><td class="paramname">rows</td><td>the rows count </td></tr>
    <tr><td class="paramname">x</td><td>the x vector </td></tr>
    <tr><td class="paramname">beta</td><td>the beta scalar </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga1fd414e4bab55e26d2502b7c1477c2c3"></a><!-- doxytag: member="ell.h::spgpuDellcsput" ref="ga1fd414e4bab55e26d2502b7c1477c2c3" args="(spgpuHandle_t handle, double alpha, __device double *cM, __device const int *rP, int cMPitch, int rPPitch, __device const int *rS, int nnz, __device int *aI, __device int *aJ, __device double *aVal, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuDellcsput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device double *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device const int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cMPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rPPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device const int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nnz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device int *&#160;</td>
          <td class="paramname"><em>aI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device int *&#160;</td>
          <td class="paramname"><em>aJ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device double *&#160;</td>
          <td class="paramname"><em>aVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Replaces the values at coordinate (aI[i], aJ[i]) inside A with the value aVal[i] * alpha, with A stored in ELLpack Format on GPU. It assumes that indices from the same row inside rP are sorted by ascending order. Values are double precision floating point numbers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The ELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The ELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">cMPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero values </td></tr>
    <tr><td class="paramname">rPPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero column indices </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">nnz</td><td>the number of triples (aI, aJ, aVal) to process </td></tr>
    <tr><td class="paramname">aI</td><td>The row coordinates vector </td></tr>
    <tr><td class="paramname">aJ</td><td>The column coordinates vector </td></tr>
    <tr><td class="paramname">aVal</td><td>The values vector </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3ef2b1ccf3dfe66a725d8c27a9c0537b"></a><!-- doxytag: member="ell.h::spgpuDellspmv" ref="ga3ef2b1ccf3dfe66a725d8c27a9c0537b" args="(spgpuHandle_t handle, __device double *z, const __device double *y, double alpha, const __device double *cM, const __device int *rP, int cMPitch, int rPPitch, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device double *x, double beta, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuDellspmv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device double *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device double *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device double *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cMPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rPPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>avgNnzPerRow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device double *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes double precision z = alpha*A*x + beta*y, with A stored in ELLpack Format on GPU. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">z</td><td>The output vector of the routine. z could be y, but not y + k (i.e. an overlapping area over y, but starting from a base index different from y). </td></tr>
    <tr><td class="paramname">y</td><td>The y input vector </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The ELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The ELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">cMPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero values </td></tr>
    <tr><td class="paramname">rPPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero column indices </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">rIdx</td><td>(optional) An array containing the row index per every row (i.e. the reorder array) of the Ell matrix. Pass NULL if you don't use a reorder array (i.e. the k-th row is stored in the k-th position in the ELL format). </td></tr>
    <tr><td class="paramname">avgNnzPerRow</td><td>(optional) Average number of non zeroes per row. Pass 0 if you don't have such information. </td></tr>
    <tr><td class="paramname">rows</td><td>the rows count </td></tr>
    <tr><td class="paramname">x</td><td>the x vector </td></tr>
    <tr><td class="paramname">beta</td><td>the beta scalar </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga5b8b43f5ccb5118ad9a9e211a05e1919"></a><!-- doxytag: member="hell.h::spgpuDhellspmv" ref="ga5b8b43f5ccb5118ad9a9e211a05e1919" args="(spgpuHandle_t handle, __device double *z, const __device double *y, double alpha, const __device double *cM, const __device int *rP, int hackSize, const __device int *hackOffsets, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device double *x, double beta, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuDhellspmv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device double *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device double *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device double *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hackSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>hackOffsets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>avgNnzPerRow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device double *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes double precision z = alpha*A*x + beta*y, with A stored in Hacked ELLpack Format on GPU. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">z</td><td>The output vector of the routine. z could be y, but not y + k (i.e. an overlapping area over y, but starting from a base index different from y). </td></tr>
    <tr><td class="paramname">y</td><td>The y input vector </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The HELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The HELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">hackSize</td><td>The constant size of every hack (must be a multiple of 32). </td></tr>
    <tr><td class="paramname">hackOffsets</td><td>the array of base index offset for every hack of HELL non zero values allocation and HELL indices allocation. </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">rIdx</td><td>(optional) An array containing the row index per every row (i.e. the reorder array) of the Hell matrix. Pass NULL if you don't use a reorder array (i.e. the k-th row is stored in the k-th position in the HELL format). </td></tr>
    <tr><td class="paramname">avgNnzPerRow</td><td>(optional) Average number of non zeroes per row. Pass 0 if you don't have such information. </td></tr>
    <tr><td class="paramname">rows</td><td>the rows count </td></tr>
    <tr><td class="paramname">x</td><td>the x vector </td></tr>
    <tr><td class="paramname">beta</td><td>the beta scalar </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga5c6b92dbf77377e871c19681c264c32e"></a><!-- doxytag: member="ell.h::spgpuSellcsput" ref="ga5c6b92dbf77377e871c19681c264c32e" args="(spgpuHandle_t handle, float alpha, __device float *cM, __device const int *rP, int cMPitch, int rPPitch, __device const int *rS, int nnz, __device int *aI, __device int *aJ, __device float *aVal, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuSellcsput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device float *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device const int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cMPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rPPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device const int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nnz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device int *&#160;</td>
          <td class="paramname"><em>aI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device int *&#160;</td>
          <td class="paramname"><em>aJ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device float *&#160;</td>
          <td class="paramname"><em>aVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Replaces the values at coordinate (aI[i], aJ[i]) inside A with the value aVal[i] * alpha, with A stored in ELLpack Format on GPU. It assumes that indices from the same row inside rP are sorted by ascending order. Values are single precision floating point numbers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The ELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The ELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">cMPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero values </td></tr>
    <tr><td class="paramname">rPPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero column indices </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">nnz</td><td>the number of triples (aI, aJ, aVal) to process </td></tr>
    <tr><td class="paramname">aI</td><td>The row coordinates vector </td></tr>
    <tr><td class="paramname">aJ</td><td>The column coordinates vector </td></tr>
    <tr><td class="paramname">aVal</td><td>The values vector </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gae738c21d0b7e54370c5076402c11e3dd"></a><!-- doxytag: member="ell.h::spgpuSellspmv" ref="gae738c21d0b7e54370c5076402c11e3dd" args="(spgpuHandle_t handle, __device float *z, const __device float *y, float alpha, const __device float *cM, const __device int *rP, int cMPitch, int rPPitch, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device float *x, float beta, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuSellspmv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device float *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device float *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device float *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cMPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rPPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>avgNnzPerRow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device float *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes single precision z = alpha*A*x + beta*y, with A stored in ELLpack Format on GPU. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">z</td><td>The output vector of the routine. z could be y, but not y + k (i.e. an overlapping area over y, but starting from a base index different from y). </td></tr>
    <tr><td class="paramname">y</td><td>The y input vector </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The ELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The ELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">cMPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero values </td></tr>
    <tr><td class="paramname">rPPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero column indices </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">rIdx</td><td>(optional) An array containing the row index per every row (i.e. the reorder array) of the Ell matrix. Pass NULL if you don't use a reorder array (i.e. the k-th row is stored in the k-th position in the ELL format). </td></tr>
    <tr><td class="paramname">avgNnzPerRow</td><td>(optional) Average number of non zeroes per row. Pass 0 if you don't have such information. </td></tr>
    <tr><td class="paramname">rows</td><td>the rows count </td></tr>
    <tr><td class="paramname">x</td><td>the x vector </td></tr>
    <tr><td class="paramname">beta</td><td>the beta scalar </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3d793905a7457b19eb6359cd8bb41776"></a><!-- doxytag: member="hell.h::spgpuShellspmv" ref="ga3d793905a7457b19eb6359cd8bb41776" args="(spgpuHandle_t handle, __device float *z, const __device float *y, float alpha, const __device float *cM, const __device int *rP, int hackSize, const __device int *hackOffsets, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device float *x, float beta, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuShellspmv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device float *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device float *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device float *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hackSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>hackOffsets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>avgNnzPerRow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device float *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes single precision z = alpha*A*x + beta*y, with A stored in Hacked ELLpack Format on GPU. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">z</td><td>The output vector of the routine. z could be y, but not y + k (i.e. an overlapping area over y, but starting from a base index different from y). </td></tr>
    <tr><td class="paramname">y</td><td>The y input vector </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The HELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The HELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">hackSize</td><td>The constant size of every hack (must be a multiple of 32). </td></tr>
    <tr><td class="paramname">hackOffsets</td><td>the array of base index offset for every hack of HELL non zero values allocation and HELL indices allocation. </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">rIdx</td><td>(optional) An array containing the row index per every row (i.e. the reorder array) of the Hell matrix. Pass NULL if you don't use a reorder array (i.e. the k-th row is stored in the k-th position in the HELL format). </td></tr>
    <tr><td class="paramname">avgNnzPerRow</td><td>(optional) Average number of non zeroes per row. Pass 0 if you don't have such information. </td></tr>
    <tr><td class="paramname">rows</td><td>the rows count </td></tr>
    <tr><td class="paramname">x</td><td>the x vector </td></tr>
    <tr><td class="paramname">beta</td><td>the beta scalar </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga53015add46a7bb6f67bad327aab3c5dc"></a><!-- doxytag: member="ell.h::spgpuZellcsput" ref="ga53015add46a7bb6f67bad327aab3c5dc" args="(spgpuHandle_t handle, cuDoubleComplex alpha, __device cuDoubleComplex *cM, __device const int *rP, int cMPitch, int rPPitch, __device const int *rS, int nnz, __device int *aI, __device int *aJ, __device cuDoubleComplex *aVal, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuZellcsput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuDoubleComplex&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device const int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cMPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rPPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device const int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nnz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device int *&#160;</td>
          <td class="paramname"><em>aI</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device int *&#160;</td>
          <td class="paramname"><em>aJ</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>aVal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Replaces the values at coordinate (aI[i], aJ[i]) inside A with the value aVal[i] * alpha, with A stored in ELLpack Format on GPU. It assumes that indices from the same row inside rP are sorted by ascending order. Values are double precision floating point complex numbers. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The ELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The ELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">cMPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero values </td></tr>
    <tr><td class="paramname">rPPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero column indices </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">nnz</td><td>the number of triples (aI, aJ, aVal) to process </td></tr>
    <tr><td class="paramname">aI</td><td>The row coordinates vector </td></tr>
    <tr><td class="paramname">aJ</td><td>The column coordinates vector </td></tr>
    <tr><td class="paramname">aVal</td><td>The values vector </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga2e4c63394d814ed7a1859b2c51102f4d"></a><!-- doxytag: member="ell.h::spgpuZellspmv" ref="ga2e4c63394d814ed7a1859b2c51102f4d" args="(spgpuHandle_t handle, __device cuDoubleComplex *z, const __device cuDoubleComplex *y, cuDoubleComplex alpha, const __device cuDoubleComplex *cM, const __device int *rP, int cMPitch, int rPPitch, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device cuDoubleComplex *x, cuDoubleComplex beta, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuZellspmv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuDoubleComplex&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>cMPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rPPitch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>avgNnzPerRow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuDoubleComplex&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes double precision complex z = alpha*A*x + beta*y, with A stored in ELLpack Format on GPU. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">z</td><td>The output vector of the routine. z could be y, but not y + k (i.e. an overlapping area over y, but starting from a base index different from y). </td></tr>
    <tr><td class="paramname">y</td><td>The y input vector </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The ELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The ELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">cMPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero values </td></tr>
    <tr><td class="paramname">rPPitch</td><td>the pitch (in number of elements) of the allocation containing the matrix non zero column indices </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">rIdx</td><td>(optional) An array containing the row index per every row (i.e. the reorder array) of the Ell matrix. Pass NULL if you don't use a reorder array (i.e. the k-th row is stored in the k-th position in the ELL format). </td></tr>
    <tr><td class="paramname">avgNnzPerRow</td><td>(optional) Average number of non zeroes per row. Pass 0 if you don't have such information. </td></tr>
    <tr><td class="paramname">rows</td><td>the rows count </td></tr>
    <tr><td class="paramname">x</td><td>the x vector </td></tr>
    <tr><td class="paramname">beta</td><td>the beta scalar </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gae12fe2a7420e998478d92bf77d714516"></a><!-- doxytag: member="hell.h::spgpuZhellspmv" ref="gae12fe2a7420e998478d92bf77d714516" args="(spgpuHandle_t handle, __device cuDoubleComplex *z, const __device cuDoubleComplex *y, cuDoubleComplex alpha, const __device cuDoubleComplex *cM, const __device int *rP, int hackSize, const __device int *hackOffsets, const __device int *rS, const __device int *rIdx, int avgNnzPerRow, int rows, const __device cuDoubleComplex *x, cuDoubleComplex beta, int baseIndex)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void spgpuZhellspmv </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__core_fun.html#ga5d4825ac610d6524df843758da392dec">spgpuHandle_t</a>&#160;</td>
          <td class="paramname"><em>handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">__device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuDoubleComplex&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>cM</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hackSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>hackOffsets</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rS</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device int *&#160;</td>
          <td class="paramname"><em>rIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>avgNnzPerRow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rows</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const __device cuDoubleComplex *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cuDoubleComplex&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>baseIndex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Computes double precision complex z = alpha*A*x + beta*y, with A stored in Hacked ELLpack Format on GPU. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">handle</td><td>The spgpu handle used to call this routine </td></tr>
    <tr><td class="paramname">z</td><td>The output vector of the routine. z could be y, but not y + k (i.e. an overlapping area over y, but starting from a base index different from y). </td></tr>
    <tr><td class="paramname">y</td><td>The y input vector </td></tr>
    <tr><td class="paramname">alpha</td><td>The alpha scalar </td></tr>
    <tr><td class="paramname">cM</td><td>The HELL non zero values allocation pointer </td></tr>
    <tr><td class="paramname">rP</td><td>The HELL column indices allocation pointer </td></tr>
    <tr><td class="paramname">hackSize</td><td>The constant size of every hack (must be a multiple of 32). </td></tr>
    <tr><td class="paramname">hackOffsets</td><td>the array of base index offset for every hack of HELL non zero values allocation and HELL indices allocation. </td></tr>
    <tr><td class="paramname">rS</td><td>the array containing the row sized (in non zero elements) </td></tr>
    <tr><td class="paramname">rIdx</td><td>(optional) An array containing the row index per every row (i.e. the reorder array) of the Hell matrix. Pass NULL if you don't use a reorder array (i.e. the k-th row is stored in the k-th position in the HELL format). </td></tr>
    <tr><td class="paramname">avgNnzPerRow</td><td>(optional) Average number of non zeroes per row. Pass 0 if you don't have such information. </td></tr>
    <tr><td class="paramname">rows</td><td>the rows count </td></tr>
    <tr><td class="paramname">x</td><td>the x vector </td></tr>
    <tr><td class="paramname">beta</td><td>the beta scalar </td></tr>
    <tr><td class="paramname">baseIndex</td><td>the ELL format base index used (i.e. 0 for C, 1 for Fortran). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Oct 7 2014 23:31:15 for spGpu library by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5
</small></address>

</body>
</html>
